import OrderNormal from "./Order.normal";
import OrderHotel from "./Order.hotel";

const Order = function ({ target, projectId, destinationName, algorithms, data }){
    if(target === '/hotel'){
        return <OrderHotel target={target} projectId={projectId} algorithms={algorithms} data={data} />
    }
    return <OrderNormal target={target} projectId={projectId} algorithms={algorithms} destinationName={destinationName} />
}

export default Order